package com.gzcwt.entity;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	private Integer id;
	private String username;
	private String cardno;
	private String hardNo;
	private Integer fileCountMust;
	private Integer fileCountRead;
	private Integer fileCountNo;
	private Integer roleSn;
	private Integer rolePrivilege;

	// Constructors

	/** default constructor */
	public User() {
	}

	/** minimal constructor */
	public User(String username, String cardno, String hardNo, Integer roleSn,
			Integer rolePrivilege) {
		this.username = username;
		this.cardno = cardno;
		this.hardNo = hardNo;
		this.roleSn = roleSn;
		this.rolePrivilege = rolePrivilege;
	}

	/** full constructor */
	public User(String username, String cardno, String hardNo,
			Integer fileCountMust, Integer fileCountRead, Integer fileCountNo,
			Integer roleSn, Integer rolePrivilege) {
		this.username = username;
		this.cardno = cardno;
		this.hardNo = hardNo;
		this.fileCountMust = fileCountMust;
		this.fileCountRead = fileCountRead;
		this.fileCountNo = fileCountNo;
		this.roleSn = roleSn;
		this.rolePrivilege = rolePrivilege;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getCardno() {
		return this.cardno;
	}

	public void setCardno(String cardno) {
		this.cardno = cardno;
	}

	public String getHardNo() {
		return this.hardNo;
	}

	public void setHardNo(String hardNo) {
		this.hardNo = hardNo;
	}

	public Integer getFileCountMust() {
		return this.fileCountMust;
	}

	public void setFileCountMust(Integer fileCountMust) {
		this.fileCountMust = fileCountMust;
	}

	public Integer getFileCountRead() {
		return this.fileCountRead;
	}

	public void setFileCountRead(Integer fileCountRead) {
		this.fileCountRead = fileCountRead;
	}

	public Integer getFileCountNo() {
		return this.fileCountNo;
	}

	public void setFileCountNo(Integer fileCountNo) {
		this.fileCountNo = fileCountNo;
	}

	public Integer getRoleSn() {
		return this.roleSn;
	}

	public void setRoleSn(Integer roleSn) {
		this.roleSn = roleSn;
	}

	public Integer getRolePrivilege() {
		return this.rolePrivilege;
	}

	public void setRolePrivilege(Integer rolePrivilege) {
		this.rolePrivilege = rolePrivilege;
	}

}